package com.xysd.express.bean;

import java.util.List;

/**
 * Created by donghui on 2017/11/22.
 */

public class HomePageObj {


    /**
     * Data : {"Banners":["http://118.122.122.236:8011/temp/banner1.png","http://118.122.122.236:8011/temp/banner1.png","http://118.122.122.236:8011/temp/banner1.png","http://118.122.122.236:8011/temp/banner1.png","http://118.122.122.236:8011/temp/banner1.png"],"Orders":[{"OrderId":2,"OrderStatus":1,"StatusDescription":"待付款","CreateDate":"2017/11/22 18:01:50","PayDate":null,"ServiceDate":null,"FinishDate":null,"CloseDate":null,"OrderAmount":0,"SourceType":1,"OrderProfile":null},{"OrderId":1,"OrderStatus":1,"StatusDescription":"待付款","CreateDate":"2017/11/22 18:01:09","PayDate":null,"ServiceDate":null,"FinishDate":null,"CloseDate":null,"OrderAmount":0,"SourceType":1,"OrderProfile":null}]}
     * Status : 0
     * Msg :
     */

    public HomePageData Data;
    public int Status;
    public String Msg;

    public class HomePageData {
        public List<HomeBanner> Banners;
        public List<HomeOrder> Orders;

    }
    public class HomeBanner{
        public String ImageUrl;
        public String LinkType;
        public String ExtendData;
    }
    public class HomeOrder {
        /**
         * OrderId : 2
         * OrderStatus : 1
         * StatusDescription : 订单状态 1待付款 2待服务 3服务中 4已完成 5已关闭
         * CreateDate : 2017/11/22 18:01:50
         * PayDate : null
         * ServiceDate : null
         * FinishDate : null
         * CloseDate : null
         * OrderAmount : 0.0
         * SourceType : 订单类型，1物流 2快递 3跑腿 4代购
         * OrderProfile : null
         */

        public long OrderId;
        public int OrderStatus;//订单状态 1待付款 2待服务 3服务中 4已完成 5已关闭
        public String StatusDescription;//状态描述
        public String CreateDate;//订单发布时间
        public String PayDate;//支付时间
        public String ServiceDate;//开始服务时间
        public String FinishDate;//完成时间
        public String CloseDate;//关闭时间
        public String OperateTime;//实际操作时间
        public double OrderAmount;//订单金额
        public int SourceType;//订单类型，1物流 2快递 3跑腿 4代购
        public OrderProfile OrderProfile;//订单描述信息
    }
    public class OrderProfile{
        public String ShipAddress;//发货地址
        public String ReceiveAddress;//收货地址
    }
}
